﻿using System;
using System.Collections.Generic;
using System.Text;


using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
     [Table]
    [Serializable]
    public class  mdc_spm_Formula_Change : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("mdc_spm_IcdMustomer", "ID");

        [Column]
        public string Fini_Sap_Code { get { return _Fini_Sap_Code; } set { _Fini_Sap_Code = value; EntityState.FieldChange("Fini_Sap_Code"); } } private string _Fini_Sap_Code; public static FieldInfo fini_Sap_Code = new FieldInfo("mdc_spm_Formula_Change", "Fini_Sap_Code");
        [Column]
        public string Fini_Bpcs_Code { get { return _Fini_Bpcs_Code; } set { _Fini_Bpcs_Code = value; EntityState.FieldChange("Fini_Bpcs_Code"); } } private string _Fini_Bpcs_Code; public static FieldInfo fini_Bpcs_Code = new FieldInfo("mdc_spm_Formula_Change", "Fini_Bpcs_Code");
        [Column]
        public string Plant { get { return _Plant; } set { _Plant = value; EntityState.FieldChange("Plant"); } } private string _Plant; public static FieldInfo plant = new FieldInfo("mdc_spm_Formula_Change", "Plant");
        [Column]
        public string Old_Fini_Sap_Code { get { return _Old_Fini_Sap_Code; } set { _Old_Fini_Sap_Code = value; EntityState.FieldChange("Old_Fini_Sap_Code"); } } private string _Old_Fini_Sap_Code; public static FieldInfo old_Fini_Sap_Code = new FieldInfo("mdc_spm_Formula_Change", "Old_Fini_Sap_Code");
        [Column]
        public string Old_Fini_Bpcs_Code { get { return _Old_Fini_Bpcs_Code; } set { _Old_Fini_Bpcs_Code = value; EntityState.FieldChange("Old_Fini_Bpcs_Code"); } } private string _Old_Fini_Bpcs_Code; public static FieldInfo old_Fini_Bpcs_Code = new FieldInfo("mdc_spm_Formula_Change", "Old_Fini_Bpcs_Code");
        [Column]
        public string New_Fini_Sap_Code { get { return _New_Fini_Sap_Code; } set { _New_Fini_Sap_Code = value; EntityState.FieldChange("New_Fini_Sap_Code"); } } private string _New_Fini_Sap_Code; public static FieldInfo new_Fini_Sap_Code = new FieldInfo("mdc_spm_Formula_Change", "New_Fini_Sap_Code");
        [Column]
        public string New_Fini_Bpcs_Code { get { return _New_Fini_Bpcs_Code; } set { _New_Fini_Bpcs_Code = value; EntityState.FieldChange("New_Fini_Bpcs_Code"); } } private string _New_Fini_Bpcs_Code; public static FieldInfo new_Fini_Bpcs_Code = new FieldInfo("mdc_spm_Formula_Change", "New_Fini_Bpcs_Code");
        [Column]
        public string Density { get { return _Density; } set { _Density = value; EntityState.FieldChange("Density"); } } private string _Density; public static FieldInfo density = new FieldInfo("mdc_spm_Formula_Change", "Density");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("mdc_spm_Formula_Change", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("mdc_spm_Formula_Change", "DMO_DrpPriority");


        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("mdc_spm_IcdMustomer", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("mdc_spm_IcdMustomer", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("mdc_spm_IcdMustomer", "UserName");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdc_spm_IcdMustomer", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdc_spm_IcdMustomer", "Status");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("mdc_spm_IcdMustomer", "ApplicationNo");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("mdc_spm_IcdMustomer", "Department");

    }
}
